let myarray=[65,66,67,68]
for (let index = 0; index < myarray.length; index++) {
    const el= myarray[index];
 //   console.log(String.fromCharCode(el))
}
//a 97
console.log(String.fromCharCode(68))
console.log("G".charCodeAt(0))

//-----------------
//关键字 保留字 class void 普通函数
// function myprint(){
//     console.log("printing is going")
// }
// myprint()
function normalFun(arr,value){
 arr.push(value)
}
//匿名函数
test=function(a,func){
const content =a
const UpperArr=[]
const LowerArr=[]
const otherArr=[]
for (let index = 0; index < content.length; index++) {
    const el =content[index];
    const loc=el.charCodeAt(0)
    if(loc>=65 && loc<=96){
        
        UpperArr.push(el)
    }
    else if(loc>=97 && loc<=122){
        
        LowerArr.push(el)
    }else{
  
        otherArr.push(el)
    }

}
let flag1 =UpperArr.length
let flag2 =LowerArr.length
let flag3 =UpperArr.concat(LowerArr).reverse().pop().length
console.log("大写字母数量"+flag1)
console.log("小写字母数量"+flag2)
console.log("翻转数量"+flag3)
}

test("ajSdh*hsjSSS")



test =function(a){
const content=a
const upperarr=[]
const lowerarr=[]
const otherarr=[]
for (let index = 0; index <content.length; index++) {
    const el = content[index];
    const lo =("a").charCodeAt(0)
    if()







}



}
test("AHHHH*lldiwww")